<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>智慧配镜 - 订单详情</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <style>
        .glass-effect {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .mockup {
            border: 2px solid #e5e7eb;
            border-radius: 1rem;
            overflow: hidden;
        }
        .status-badge {
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.875rem;
            font-weight: 500;
        }
        .status-pending {
            background-color: #FEF3C7;
            color: #92400E;
        }
        .status-processing {
            background-color: #DBEAFE;
            color: #1E40AF;
        }
        .status-completed {
            background-color: #D1FAE5;
            color: #065F46;
        }
    </style>
</head>
<body class="bg-gradient-to-br from-blue-50 to-blue-100 min-h-screen p-8">
    <div class="mockup w-[400px] h-[600px]">
        <div class="h-full flex flex-col glass-effect">
            <!-- 顶部导航 -->
            <div class="p-4 border-b border-gray-200">
                <div class="flex items-center justify-between">
                    <div class="flex items-center">
                        <button class="mr-4 p-2 rounded-full hover:bg-gray-100">
                            <img src="https://unpkg.com/lucide-static@latest/icons/arrow-left.svg" class="w-6 h-6">
                        </button>
                        <h1 class="text-xl font-bold text-blue-800">订单详情</h1>
                    </div>
                    <button class="p-2 rounded-full hover:bg-gray-100">
                        <img src="https://unpkg.com/lucide-static@latest/icons/more-vertical.svg" class="w-6 h-6">
                    </button>
                </div>
            </div>

            <!-- 订单状态 -->
            <div class="p-4 border-b border-gray-200">
                <div class="flex items-center justify-between">
                    <div class="flex items-center space-x-4">
                        <span class="text-gray-900 font-medium">订单号：202403150001</span>
                        <span class="status-badge status-pending">待支付</span>
                    </div>
                    <span class="text-sm text-gray-500">2024-03-15 14:30</span>
                </div>
            </div>

            <!-- 用户信息 -->
            <div class="p-4 border-b border-gray-200">
                <h2 class="text-lg font-semibold text-gray-900 mb-3">用户信息</h2>
                <div class="space-y-2">
                    <div class="flex items-center">
                        <span class="w-20 text-gray-500">姓名：</span>
                        <span class="text-gray-900">张三</span>
                    </div>
                    <div class="flex items-center">
                        <span class="w-20 text-gray-500">电话：</span>
                        <span class="text-gray-900">138****8888</span>
                    </div>
                    <div class="flex items-center">
                        <span class="w-20 text-gray-500">地址：</span>
                        <span class="text-gray-900">北京市朝阳区xxx街道xxx号</span>
                    </div>
                </div>
            </div>

            <!-- 商品信息 -->
            <div class="p-4 border-b border-gray-200">
                <h2 class="text-lg font-semibold text-gray-900 mb-3">商品信息</h2>
                <div class="space-y-4">
                    <!-- 商品1 -->
                    <div class="flex items-center space-x-4">
                        <div class="w-20 h-20 bg-gray-100 rounded-lg overflow-hidden">
                            <img src="https://images.unsplash.com/photo-1511499767150-a48a237f0083" class="w-full h-full object-cover">
                        </div>
                        <div class="flex-1">
                            <h3 class="font-medium text-gray-900">时尚金属镜架</h3>
                            <p class="text-sm text-gray-500">钛合金材质</p>
                            <p class="text-sm text-gray-500">数量：1</p>
                            <p class="text-blue-600 font-medium">¥598</p>
                        </div>
                    </div>
                    <!-- 商品2 -->
                    <div class="flex items-center space-x-4">
                        <div class="w-20 h-20 bg-gray-100 rounded-lg overflow-hidden">
                            <img src="https://images.unsplash.com/photo-1572635196237-14b3f281503f" class="w-full h-full object-cover">
                        </div>
                        <div class="flex-1">
                            <h3 class="font-medium text-gray-900">防蓝光镜片</h3>
                            <p class="text-sm text-gray-500">1.67折射率</p>
                            <p class="text-sm text-gray-500">数量：1</p>
                            <p class="text-blue-600 font-medium">¥400</p>
                        </div>
                    </div>
                </div>
            </div>

            <!-- 支付信息 -->
            <div class="p-4 border-b border-gray-200">
                <h2 class="text-lg font-semibold text-gray-900 mb-3">支付信息</h2>
                <div class="space-y-2">
                    <div class="flex items-center justify-between">
                        <span class="text-gray-500">商品总额：</span>
                        <span class="text-gray-900">¥998</span>
                    </div>
                    <div class="flex items-center justify-between">
                        <span class="text-gray-500">优惠金额：</span>
                        <span class="text-gray-900">¥0</span>
                    </div>
                    <div class="flex items-center justify-between">
                        <span class="text-gray-500">实付金额：</span>
                        <span class="text-blue-600 font-medium">¥998</span>
                    </div>
                    <div class="flex items-center justify-between">
                        <span class="text-gray-500">支付方式：</span>
                        <span class="text-gray-900">微信支付</span>
                    </div>
                </div>
            </div>

            <!-- 操作按钮 -->
            <div class="p-4 border-t border-gray-200">
                <div class="flex space-x-3">
                    <button class="flex-1 px-4 py-2 text-sm text-white bg-blue-600 rounded-lg hover:bg-blue-700">
                        确认支付
                    </button>
                    <button class="flex-1 px-4 py-2 text-sm text-gray-700 border border-gray-300 rounded-lg hover:bg-gray-50">
                        取消订单
                    </button>
                </div>
            </div>
        </div>
    </div>
</body>
</html> 